package com.zhz.company.contract.response;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * 根据code查询响应
 * @author zhouhengzhe
 * @date 2023/3/24
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class DepartmentFindByCodeResponse {

    @ApiModelProperty("主键ID")
    private String id;

    @ApiModelProperty("企业ID")
    private String companyId;

    @ApiModelProperty("公司名称")
    private String companyName;

    @ApiModelProperty("公司联系人")
    private String companyManage;

    @ApiModelProperty("父级部门ID")
    private String pid;

    @ApiModelProperty("部门名称")
    private String name;

    @ApiModelProperty("部门编码")
    private String code;

    @ApiModelProperty("部门负责人")
    private String manager;

    @ApiModelProperty("介绍")
    private String introduce;

    @ApiModelProperty("负责人ID")
    private String managerId;

    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty("更新时间")
    private LocalDateTime updateTime;
}
